package com.nhncorp.neptune;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import com.nhncorp.neptune.changelog.TestChangeLogClient;
import com.nhncorp.neptune.changelog.TestChangeLogFileSystem;
import com.nhncorp.neptune.changelog.TestChangeLogServerFailure;
import com.nhncorp.neptune.changelog.TestServerLocationManager;
import com.nhncorp.neptune.changelog.pipe.TestBufferPool;
import com.nhncorp.neptune.client.TestNTable;
import com.nhncorp.neptune.common.ipc.TestRPCTimeOutHandling;
import com.nhncorp.neptune.common.testhelper.TestFaultInjectionProxy;
import com.nhncorp.neptune.common.testhelper.TestFaultManager;
import com.nhncorp.neptune.fs.TestPipeBasedChangeLogFileSystem;

public class AllSuite extends TestCase {
  public static Test suite() throws Exception {
    TestSuite suite = new TestSuite();
    suite.addTestSuite(TestFaultInjectionProxy.class);
    suite.addTestSuite(TestFaultManager.class);

    suite.addTestSuite(TestBufferPool.class);
    
    suite.addTestSuite(TestRPCTimeOutHandling.class);
    
    suite.addTestSuite(TestChangeLogClient.class);
    suite.addTestSuite(TestChangeLogFileSystem.class);
    suite.addTestSuite(TestChangeLogServerFailure.class);
    suite.addTestSuite(TestServerLocationManager.class);
    
    suite.addTestSuite(TestPipeBasedChangeLogFileSystem.class);
    
    suite.addTestSuite(TestNTable.class);
    
    return suite;
  }
}
